package com.wuyan.locationdog.adapter

import android.widget.ImageView
import android.widget.TextView
import androidx.annotation.LayoutRes
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import com.arcsoft.commonbase.bean.TeamDetail
import com.arcsoft.commonbase.bean.TeamMember
import com.arcsoft.commonbase.ext.loadImageCircle
import com.arcsoft.commonbase.ext.loadImageCircleCar
import com.arcsoft.commonbase.ext.radius
import com.arcsoft.commonbase.utils.getTestDataList
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.wuyan.locationdog.R
import com.wuyan.locationdog.view.TeamGridView


class TeamPersonListAdapter(@LayoutRes layoutResId: Int, data: MutableList<TeamMember>?) :
    BaseQuickAdapter<TeamMember, BaseViewHolder>(layoutResId, data) {


    override fun convert(holder: BaseViewHolder, item: TeamMember) {
        holder.apply {
            getView<ImageView>(R.id.userAvatar).loadImageCircle(item.userAvatar)

        }
    }
}


